package com.gxa.autoparts.admin.mapper;

import com.gxa.autoparts.core.pojo.CouponUseRecord;
import tk.mybatis.mapper.common.Mapper;

/**
 * @author R
 * @data 2022-01-10 17:24
 */
public interface CouponUseRecordMapper extends Mapper<CouponUseRecord> {

    Long getCouponIdByOrderId(Long orderId);

    void deleteByOrderId(Long orderId);

}
